package 设计模式.d_原型模式;

import lombok.SneakyThrows;

/**
 * @author caihe
 * @date 2023/3/9 14:54
 */
public abstract class Prototype<T> implements Cloneable {

    @SneakyThrows
    public T copy() {
        return (T) super.clone();
    }

}
